﻿package core.flipper 
{
	import flash.display.DisplayObject;
	
	public class Flipper extends DisplayObject
	{
		private var bLeft:Boolean;
		private var bRight:Boolean;
		
		// Constructor
		public function Flipper(left:Boolean = false) 
		{
			if (left) SetLeft();
			else SetRight();
		}
		
		// Public Functions
		public function Action():void
		{
			
		}
		
		// Get / Sets
		public function get Orientation():String
		{
			if (bLeft) return "LEFT";
			else return "RIGHT";
		}
		
		// Protected Functions
		
		// Private Functions
		private function SetLeft():void
		{
			bLeft = true;
			bRight = false;
		}
		
		private function SetRight():void
		{
			bRight = true;
			bLeft = false;
		}
		
	}

}